package com.study.advice;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

//Advisor方式的前置通知
public class BeforeAdvice implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] objects, Object o) {
        System.out.println("Advisor方式的前置通知");
    }

}
